.. _CVEFVidCell Class: ========================== CVEFVidCell Class ========================== .. toctree:: :maxdepth: 1 * :ref:`Overview` * :ref:`Quick Reference` * :ref:`Constructors` * :ref:`Methods` ---- .. _CVEFVidCell_Overview: Overview --------------- .. note:: The **CVEFVidCell** class handles The structure used for this class is :ref:`CVEFVidCell` ---- .. _CVEFVidCell_QuickRef: Quick Reference --------------- +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | **Quick Ref** | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void **CVEFVidCell\:\:CVEFVidCell**\() | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | virtual void **CVEFVidCell\:\:~CVEFVidCell**\() | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void **CVEFVidCell\:\:Activate**\(:ref:`CGameArea`\* pArea, :ref:`CPoint`\& pos, long height, unsigned char listType, long time) | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void **CVEFVidCell\:\:CalculateFXRect**\(:ref:`CRect`\& rFX, :ref:`CPoint`\& ptReference) | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void **CVEFVidCell\:\:CalculatePos**\(:ref:`CPoint`\& center) | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | virtual unsigned char **CVEFVidCell\:\:CompressTime**\(unsigned long deltaTime) | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void **CVEFVidCell\:\:CopyFromBase**\(:ref:`CVEFVidCellBase`\* pBase) | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void **CVEFVidCell\:\:FrameAdvance**\(long time) | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | virtual short __cdecl **CVEFVidCell\:\:GetDirection**\(:ref:`CPoint`\& start, :ref:`CPoint`\& target, short curDirection) | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void **CVEFVidCell\:\:PlaySound**\(:ref:`CResRef` res, int loop, int bFireAndForget) | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | virtual void **CVEFVidCell\:\:Render**\(:ref:`CGameArea`\* pArea, :ref:`CVidMode`\* pVidMode) | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void **CVEFVidCell\:\:SetDirection**\(:ref:`CPoint`\& parentPos, :ref:`CPoint`\& parentPosOld, :ref:`CPoint`\& targetPos, short targetDirection) | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void **CVEFVidCell\:\:SetDirectionSequence**\(long newDirection) | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void **CVEFVidCell\:\:SetRenderType**\() | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | virtual unsigned char **CVEFVidCell\:\:CanSaveGame**\(unsigned long\& strError, int restCheck, int combatCheck) | +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ ---- .. _CVEFVidCell_Constructors: Constructors --------------- +---------------------------------------------------------------+------------------------------------------------------+ | **Name** | **Description** | +---------------------------------------------------------------+------------------------------------------------------+ | :ref:`CVEFVidCell\:\:CVEFVidCell` | Constructs a ``CVEFVidCell`` object | +---------------------------------------------------------------+------------------------------------------------------+ | :ref:`CVEFVidCell\:\:CVEFVidCell` | Destroys a ``CVEFVidCell`` object | +---------------------------------------------------------------+------------------------------------------------------+ .. _CVEFVidCellCVEFVidCell: CVEFVidCell\:\:CVEFVidCell ^^^^^^^^^^^^^^^^^^^^^^^^^^ Constructs a ``CVEFVidCell`` object :: void CVEFVidCell::CVEFVidCell(); **Remarks** Constructs a ``CVEFVidCell`` object ---- .. _CVEFVidCell~CVEFVidCell: CVEFVidCell\:\:~CVEFVidCell ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Destroys the ``CVEFVidCell`` object :: virtual void CVEFVidCell::~CVEFVidCell(); **Remarks** Destroys the ``CVEFVidCell`` object ---- .. _CVEFVidCell_Methods: Methods --------------- +-----------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | **Name** | **Description** | +-----------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CVEFVidCell\:\:Activate` | | +-----------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CVEFVidCell\:\:CalculateFXRect` | | +-----------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CVEFVidCell\:\:CalculatePos` | | +-----------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CVEFVidCell\:\:CompressTime` | | +-----------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CVEFVidCell\:\:CopyFromBase` | | +-----------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CVEFVidCell\:\:FrameAdvance` | | +-----------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CVEFVidCell\:\:GetDirection` | | +-----------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CVEFVidCell\:\:PlaySound` | | +-----------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CVEFVidCell\:\:Render` | | +-----------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CVEFVidCell\:\:SetDirection` | | +-----------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CVEFVidCell\:\:SetDirectionSequence` | | +-----------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CVEFVidCell\:\:SetRenderType` | | +-----------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CVEFVidCell\:\:CanSaveGame` | | +-----------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ ---- .. _CVEFVidCellActivate: CVEFVidCell\:\:Activate ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: void CVEFVidCell::Activate( CGameArea* pArea, CPoint& pos, long height, unsigned char listType, long time); **Parameters** * :ref:`CGameArea`\* *pArea* - * :ref:`CPoint`\& *pos* - * ``long`` *height* - * ``unsigned char`` *listType* - * ``long`` *time* - **Remarks** ---- .. _CVEFVidCellCalculateFXRect: CVEFVidCell\:\:CalculateFXRect ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: void CVEFVidCell::CalculateFXRect( CRect& rFX, CPoint& ptReference); **Parameters** * :ref:`CRect`\& *rFX* - * :ref:`CPoint`\& *ptReference* - **Remarks** ---- .. _CVEFVidCellCalculatePos: CVEFVidCell\:\:CalculatePos ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: void CVEFVidCell::CalculatePos(CPoint& center); **Parameters** * :ref:`CPoint`\& *center* - **Remarks** ---- .. _CVEFVidCellCompressTime: CVEFVidCell\:\:CompressTime ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: virtual unsigned char CVEFVidCell::CompressTime(unsigned long deltaTime); **Parameters** * ``unsigned long`` *deltaTime* - **Return Value** Returns ``unsigned char`` **Remarks** ---- .. _CVEFVidCellCopyFromBase: CVEFVidCell\:\:CopyFromBase ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: void CVEFVidCell::CopyFromBase(CVEFVidCellBase* pBase); **Parameters** * :ref:`CVEFVidCellBase`\* *pBase* - **Remarks** ---- .. _CVEFVidCellFrameAdvance: CVEFVidCell\:\:FrameAdvance ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: void CVEFVidCell::FrameAdvance(long time); **Parameters** * ``long`` *time* - **Remarks** ---- .. _CVEFVidCellGetDirection: CVEFVidCell\:\:GetDirection ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: virtual short __cdecl CVEFVidCell::GetDirection( CPoint& start, CPoint& target, short curDirection); **Parameters** * :ref:`CPoint`\& *start* - * :ref:`CPoint`\& *target* - * ``short`` *curDirection* - **Return Value** Returns ``short`` **Remarks** ---- .. _CVEFVidCellPlaySound: CVEFVidCell\:\:PlaySound ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: void CVEFVidCell::PlaySound( CResRef res, int loop, int bFireAndForget); **Parameters** * :ref:`CResRef` *res* - * ``int`` *loop* - * ``int`` *bFireAndForget* - **Remarks** ---- .. _CVEFVidCellRender: CVEFVidCell\:\:Render ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: virtual void CVEFVidCell::Render( CGameArea* pArea, CVidMode* pVidMode); **Parameters** * :ref:`CGameArea`\* *pArea* - * :ref:`CVidMode`\* *pVidMode* - **Remarks** ---- .. _CVEFVidCellSetDirection: CVEFVidCell\:\:SetDirection ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: void CVEFVidCell::SetDirection( CPoint& parentPos, CPoint& parentPosOld, CPoint& targetPos, short targetDirection); **Parameters** * :ref:`CPoint`\& *parentPos* - * :ref:`CPoint`\& *parentPosOld* - * :ref:`CPoint`\& *targetPos* - * ``short`` *targetDirection* - **Remarks** ---- .. _CVEFVidCellSetDirectionSequence: CVEFVidCell\:\:SetDirectionSequence ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: void CVEFVidCell::SetDirectionSequence(long newDirection); **Parameters** * ``long`` *newDirection* - **Remarks** ---- .. _CVEFVidCellSetRenderType: CVEFVidCell\:\:SetRenderType ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: void CVEFVidCell::SetRenderType(); **Remarks** ---- .. _CVEFVidCellCanSaveGame: CVEFVidCell\:\:CanSaveGame ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: virtual unsigned char CVEFVidCell::CanSaveGame( unsigned long& strError, int restCheck, int combatCheck); **Parameters** * ``unsigned long``\& *strError* - * ``int`` *restCheck* - * ``int`` *combatCheck* - **Return Value** Returns ``unsigned char`` **Remarks**